<script type="text/ng-template" id="synchronize_dialog">
	<div class="modal-header">
        <h4 class="modal-title">同步供应商信息</h4>
    </div>
    <div class="modal-body">
		<div class="row">
			<table class="table order-table-detail">
		        <tbody>
					<tr>
		                <td class="nob_t">
		                    <div class="col-xs-6"><span class="color666666">供应商编号：</span><span ng-bind="synchron.VendorCode" style="width=100px"></span></div>
		                    <div class="col-xs-6"><span class="color666666">供应商名称：</span><span ng-bind="synchron.VendorName"></span></div>
		                </td>
		            </tr>
					<tr>
		                <td>
		                    <div class="col-xs-6">
                                <span class="color666666" style="float:left" > 供应商编码：</span>
                                <div class="col-xs-8">
                                    <input type="text" ng-model="synchron.SupplierCode" class="form-control ng-pristine ng-untouched ng-valid"/>
                                </div>
		                	</div>
		                    <div class="col-xs-6">
                                <span class="color666666" style="float:left" > 供应商名称：</span>
                                <div class="col-xs-8">
                                    <input type="text" ng-model="synchron.SupplierName" class="form-control ng-pristine ng-untouched ng-valid"/>
                                </div>
		                	</div>
		                </td>
		            </tr>
					<tr>
		                 <td>
		                    <div class="col-xs-6">
                                <span class="color666666" style="float:left" > 供应商全称：</span>
                                <div class="col-xs-8">
                                    <input type="text" ng-model="synchron.SupplierFullName" class="form-control ng-pristine ng-untouched ng-valid"/>
                                </div>
		                	</div>
		                    <div class="col-xs-6">
                                <span class="color666666" style="float:left" > 供应商别称：</span>
                                <div class="col-xs-8">
                                    <input type="text" ng-model="synchron.SupplierNickName" class="form-control ng-pristine ng-untouched ng-valid"/>
                                </div>
		                	</div>
		                </td>
		            </tr>
					<tr>
		                 <td>
		                   <div class="col-xs-6">
								<span class="color666666" style="float:left;width:80px" > 供应商分类：</span>
		                		<div class="col-xs-8">
                                    <div class="input-group"><input type="text" class="col-xs-2 form-control" placeholder="供应商分类" onkeydown="return false" ng-model="synchron.SupplierSortName"/>
									<div class="btn input-group-addon btn-sm" ng-click="supplierSortSelectDlg()"><i class="glyphicon glyphicon-search"></i></div></div>
                            	</div>
						   </div>
		                </td>
		            </tr>
					<tr>
		                <td>
		                    <div class="col-xs-6">
                                <span class="color666666" style="float:left;width:80px" > 开户总行：</span>
                                <div class="col-xs-8">
                                    <input type="text" ng-model="synchron.HeadBankName" class="form-control ng-pristine ng-untouched ng-valid"/>
                                </div>
		                	</div>
		                    <div class="col-xs-6">
                                <span class="color666666" style="float:left;width:80px" > 开户支行：</span>
                                <div class="col-xs-8">
                                    <input type="text" ng-model="synchron.BranchBankName" class="form-control ng-pristine ng-untouched ng-valid"/>
                                </div>
		                	</div>
		                </td>
		            </tr>
					<tr>
		                <td>
		                    <div class="col-xs-6">
                                <span class="color666666" style="float:left;width:80px" > 银行账号：</span>
                                <div class="col-xs-8">
                                    <input type="text" ng-model="synchron.BankAccountNumber" class="form-control ng-pristine ng-untouched ng-valid"/>
                                </div>
		                	</div>
		                    <div class="col-xs-6">
                                <span class="color666666" style="float:left;width:80px" > 税务登记号：</span>
                                <div class="col-xs-8">
                                    <input type="text" ng-model="synchron.TaxRegisterNumber" class="form-control ng-pristine ng-untouched ng-valid"/>
                                </div>
		                	</div>
		                </td>
		            </tr>
					<tr>
					  <td>
						<div class="col-xs-6">
							<span class="color666666" style="float:left;width:80px" > 区域：</span>
		                	<div class="col-xs-8">
                                    <div class="input-group"><input type="text" onkeydown="return false" class="col-xs-2 form-control" placeholder="区域" ng-model="synchron.RegionName"/>
									<div class="btn input-group-addon btn-sm" ng-click="showRegionCodeSelectDlg()"><i class="glyphicon glyphicon-search"></i></div></div>
                            </div>
						</div>
						<div class="col-xs-6">
							<span class="color666666" style="float:left;width:80px" > 行业：</span>
		                	<div class="col-xs-8">
                                    <div class="input-group"><input type="text" onkeydown="return false" class="col-xs-2 form-control" placeholder="行业" ng-model="synchron.TradeName"/>
									<div class="btn input-group-addon btn-sm" ng-click="showTradeCodeSelectDlg()"><i class="glyphicon glyphicon-search"></i></div></div>
                            </div>
						</div>
					  </td>
		            </tr>
					<tr>
					  <td>
						<div class="col-xs-6">
							<span class="color666666" style="float:left;width:80px" > 结算方式：</span>
		                	<div class="col-xs-8">
                                    <div class="input-group"><input type="text" onkeydown="return false" class="col-xs-2 form-control" placeholder="结算方式" ng-model="synchron.SettleName"/>
									<div class="btn input-group-addon btn-sm" ng-click="showSettleCodeSelectDlg()"><i class="glyphicon glyphicon-search"></i></div></div>
                            </div>
						</div>
						<div class="col-xs-6">
							<span class="color666666" style="float:left;width:80px" > 运输方式：</span>
		                	<div class="col-xs-8">
                                    <div class="input-group"><input type="text" onkeydown="return false" class="col-xs-2 form-control" placeholder="运输方式" ng-model="synchron.TransferWayName"/>
									<div class="btn input-group-addon btn-sm" ng-click="showTrasferWaySelectDlg()"><i class="glyphicon glyphicon-search"></i></div></div>
                            </div>
						</div>
					  </td>
		            </tr>
					<tr>
					  <td class="no-border-b">
						<div class="col-xs-6">
							<span class="color666666" style="float:left;width:80px" > 开票类型：</span>
		                	<div class="col-xs-8">
                                    <div class="input-group"><input type="text" onkeydown="return false" class="col-xs-2 form-control" placeholder="开票类型" ng-model="synchron.BillingTypeName"/>
									<div class="btn input-group-addon btn-sm" ng-click="billingTypeSelectDlg()"><i class="glyphicon glyphicon-search"></i></div></div>
                            </div>
						</div>
						<div class="col-xs-6">
							<span class="color666666" style="float:left;width:80px" > 付款条件：</span>
		                	<div class="col-xs-8">
                                    <div class="input-group"><input type="text" onkeydown="return false" class="col-xs-2 form-control" placeholder="付款条件" ng-model="synchron.PaymentTermName"/>
									<div class="btn input-group-addon btn-sm" ng-click="paymentTermSelectDlg()"><i class="glyphicon glyphicon-search"></i></div></div>
                            </div>
						</div>
					  </td>
		            </tr>
				</tbody>
			</table>
		</div>
    </div>
        <div class="modal-footer">
            <div class="col-xs-12">
                <button class="btn btn-save btn-warning" ng-disabled="bSubmitDisabled" ng-click="addSynchronizeERP()">确定</button>
 				<button class="btn btn-save" ng-disabled="bSubmitDisabled" ng-click="closeDialog()">取消</button>
            </div>
        </div>
</script>